const Router = require('koa-router');
const router = new Router();
const tool = require('../../tools/tool')

router.post('/goods/jpList', async ctx => {
    let tid = ctx.user.tenantId
    let sql = `
        select * from goods_jp where tenantId=${tid} and dt is null
    `
    let ret = await tool.getList(ctx, sql)
    return ret
})


module.exports = router;
